#ifndef BEGIN_H
#define BEGIN_H

#include "mainwindow.h"
#include <QMainWindow>
#include <QKeyEvent>
#include <QPushButton>
#include <QPainter>
#include <QTime>
#include <QDebug>
#include <QMessageBox>

QT_BEGIN_NAMESPACE
namespace Ui { class Begin; }
QT_END_NAMESPACE

class Begin : public QMainWindow
{
    Q_OBJECT

public:
    Begin(QWidget *parent = nullptr);
    ~Begin();
    void paintEvent(QPaintEvent *);

    QPushButton *button;

private slots:
    void on_button_clicked();

private:
    Ui::Begin *ui;
    MainWindow *m = new MainWindow;
};
#endif // BEGIN_H
